# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-boto3
pkgver=1.35.51
pkgrel=0
pkgdesc="AWS SDK for Python (Boto3)"
url="https://aws.amazon.com/sdk-for-python/"
license="Apache-2.0"
arch="noarch"
depends="
	py3-botocore
	py3-jmespath
	py3-s3transfer
	"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/b/boto3/boto3-$pkgver.tar.gz"
builddir="$srcdir"/boto3-$pkgver
options="!check" # take way too long

replaces="py-boto3" # Backwards compatibility
provides="py-boto3=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
d540320e53226ccc9253dd2942bf8685195eade82d3dcad66425354c8cd0280e81ef3799407df7c65fb3bc7e3ab68900e637a4d92717906eba792d76636e9174  boto3-1.35.51.tar.gz
"
